API

Finance APIs

GET finance/accounts-receivable-transactions

List of accounts receivable transactions. For listing all documents linked to a payment use the following filter: $filter=Payment.ItemReference.ObjectType eq "Payment" and Payment.ItemReference.ObjectId eq and Payment.ItemReference.ItemId eq

HTTP method GET
URI https://api.rambase.net/finance/accounts-receivable-transactions
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 448, version 19

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

ActiveReceivTrans() Named filter Active receivable transactions (status between 1 and 9)
ImportedReceivTrans() Named filter Imported receivable transactions
AccountingPeriod Integer Accounting period.
AccountsReceivableTransactionId Integer Accounts receivable transaction identifier.
Currency String Three character code following the ISO 4217 standard.
CustomerId Integer Customer identifier.
CustomerName String Name of customer (name of company or surname/familyname/lastname of a person).
IssueDate Date Date when the document was issued. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ReferenceObjectType String Type of object.
Status Integer Status of the accounts receivable transaction.
TotalAmount Decimal Total amount.
TotalAmountConverted Decimal Total amount.
VATRegistrationNumber String Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

Read more about filters and sorting on how to use sortable parameters

AccountingPeriod Integer Accounting period
AccountsReceivableTransactionId Integer Accounts receivable transaction identifier
Currency String Three character code following the ISO 4217 standard
CustomerId Integer Customer identifier
CustomerName String Name of customer (name of company or surname/familyname/lastname of a person)
IssueDate Date Date when the document was issued.
ReferenceObjectType String Type of object
Status Integer Status of the accounts receivable transaction
TotalAmount Decimal Total amount
TotalAmountConverted Decimal Total amount
VATRegistrationNumber String Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<AccountsReceivableTransactions>
2
     <AccountsReceivableTransaction>
3
          <AccountsReceivableTransactionId
AccountsReceivableTransactionId

Accounts receivable transaction identifier

>
{Integer}</AccountsReceivableTransactionId>
4
          <Status
Status

Status of the accounts receivable transaction

Possible domain values can be found here

>
{Integer}</Status>
5
          <TranslatedDescription
TranslatedDescription

Description of the accounts receivable transaction.

>
{String}</TranslatedDescription>
6
          <DueDate
DueDate

Date the object is due to be paid

>
{Date}</DueDate>
7
          <Source>
8
               <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

>
{String}</VATRegistrationNumber>
9
               <IssueDate
IssueDate

Date when the document was issued.

>
{Date}</IssueDate>
10
               <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
11
               <AccountingPeriod>
12
                    <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

>
{Integer}</AccountingPeriodId>
13
                    <Period
Period

Accounting period

>
{Integer}</Period>
14
                    <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

>
{String}</AccountingPeriodLink>
15
               </AccountingPeriod>
16
               <ShippingAddress>
17
                    <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
18
                    <Country
Country

English name of country.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.Source.ShippingAddress.Country in your request URI to get this field

>
{String}</Country>
19
               </ShippingAddress>
20
               <InvoiceAddress>
21
                    <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
22
                    <Country
Country

English name of country.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.Source.InvoiceAddress.Country in your request URI to get this field

>
{String}</Country>
23
               </InvoiceAddress>
24
               <Customer>
25
                    <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
26
                    <Name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
27
                    <FirstName
FirstName

Secondary name of a company or firstname of a person

>
{String}</FirstName>
28
                    <Intercompany>
29
                         <Code
Code

Intercompany database the customer belongs to.

>
{String}</Code>
30
                    </Intercompany>
31
                    <LegalEntityIdentifier
LegalEntityIdentifier

The customers unique enterprise/organization number.

>
{String}</LegalEntityIdentifier>
32
                    <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

>
{String}</VATRegistrationNumber>
33
                    <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
34
               </Customer>
35
               <Reference>
36
                    <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
37
                    <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
38
                    <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
39
                    <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
40
                    <ItemType
ItemType

Type of item

>
{String}</ItemType>
41
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
42
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
43
               </Reference>
44
          </Source>
45
          <Totals>
46
               <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
47
               <VATAmount
VATAmount

Total value added tax in object currency.

>
{Decimal}</VATAmount>
48
               <TotalAmount
TotalAmount

Total amount

>
{Decimal}</TotalAmount>
49
          </Totals>
50
          <TotalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

>
51
               <Currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

>
{String}</Currency>
52
               <ExchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

>
{Decimal}</ExchangeRate>
53
               <VATAmount
VATAmount

Value added tax amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

>
{Decimal}</VATAmount>
54
               <TotalAmount
TotalAmount

Total amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

>
{Decimal}</TotalAmount>
55
          </TotalsConverted>
56
          <AccountsReceivableTransactionLink
AccountsReceivableTransactionLink

Accounts receivable transaction reference

>
{String}</AccountsReceivableTransactionLink>
57
     </AccountsReceivableTransaction>
58
     <Paging
Paging

Detailed paging information for this list.

>
59
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
60
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
61
          <Page
Page

Page index

>
{Integer}</Page>
62
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</FirstPageKey>
63
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
64
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</PreviousPageKey>
65
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
66
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</NextPageKey>
67
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
68
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</LastPageKey>
69
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
70
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
71
     </Paging>
72
</AccountsReceivableTransactions>
1
{
2
     "accountsReceivableTransactions": [
3
          {
4
               "accountsReceivableTransactionId
AccountsReceivableTransactionId

Accounts receivable transaction identifier

":
"{Integer}",
5
               "status
Status

Status of the accounts receivable transaction

Possible domain values can be found here

":
"{Integer}",
6
               "translatedDescription
TranslatedDescription

Description of the accounts receivable transaction.

":
"{String}",
7
               "dueDate
DueDate

Date the object is due to be paid

":
"{Date}",
8
               "source": {
9
                    "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

":
"{String}",
10
                    "issueDate
IssueDate

Date when the document was issued.

":
"{Date}",
11
                    "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
12
                    "accountingPeriod": {
13
                         "accountingPeriodId
AccountingPeriodId

Accounting period identifier

":
"{Integer}",
14
                         "period
Period

Accounting period

":
"{Integer}",
15
                         "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

":
"{String}"
16
                    },
17
                    "shippingAddress": {
18
                         "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
19
                         "country
Country

English name of country.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.Source.ShippingAddress.Country in your request URI to get this field

":
"{String}"
20
                    },
21
                    "invoiceAddress": {
22
                         "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
23
                         "country
Country

English name of country.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.Source.InvoiceAddress.Country in your request URI to get this field

":
"{String}"
24
                    },
25
                    "customer": {
26
                         "customerId
CustomerId

Customer identifier

":
"{Integer}",
27
                         "name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

":
"{String}",
28
                         "firstName
FirstName

Secondary name of a company or firstname of a person

":
"{String}",
29
                         "intercompany": {
30
                              "code
Code

Intercompany database the customer belongs to.

":
"{String}"
31
                         },
32
                         "legalEntityIdentifier
LegalEntityIdentifier

The customers unique enterprise/organization number.

":
"{String}",
33
                         "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

":
"{String}",
34
                         "customerLink
CustomerLink

Customer reference

":
"{String}"
35
                    },
36
                    "reference": {
37
                         "objectId
ObjectId

Identifier of the object

":
"{Integer}",
38
                         "objectType
ObjectType

Type of object

":
"{String}",
39
                         "objectLink
ObjectLink

API reference to the object

":
"{String}",
40
                         "itemId
ItemId

Identifier of the object

":
"{Integer}",
41
                         "itemType
ItemType

Type of item

":
"{String}",
42
                         "itemLink
ItemLink

API reference to the item

":
"{String}",
43
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
44
                    }
45
               },
46
               "totals": {
47
                    "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
48
                    "vATAmount
VATAmount

Total value added tax in object currency.

":
"{Decimal}",
49
                    "totalAmount
TotalAmount

Total amount

":
"{Decimal}"
50
               },
51
               "totalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

":
{
52
                    "currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

":
"{String}",
53
                    "exchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

":
"{Decimal}",
54
                    "vATAmount
VATAmount

Value added tax amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

":
"{Decimal}",
55
                    "totalAmount
TotalAmount

Total amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=AccountsReceivableTransaction.TotalsConverted in your request URI to get this field

":
"{Decimal}"
56
               },
57
               "accountsReceivableTransactionLink
AccountsReceivableTransactionLink

Accounts receivable transaction reference

":
"{String}"
58
          }
59
     ],
60
     "paging
Paging

Detailed paging information for this list.

":
{
61
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
62
          "position
Position

Position of the first element in the list

":
"{Integer}",
63
          "page
Page

Page index

":
"{Integer}",
64
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
65
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
66
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
67
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
68
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
69
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
70
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
71
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
72
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
73
     }
74
}

Possible error codes the response might return:

Error 100209 HTTP 400 Illegal document Id {0}
Error 101086 HTTP 400 Missing required argument {0} for description
Error 101087 HTTP 400 Description argument/result mismatch